package com.yld.oa.employee.service;

import com.yld.oa.department.entity.DepartmentEntity;
import com.yld.oa.employee.entity.EmployeeEntity;

public interface EmployeeService {
	
	/**
	 * 同时插入1个指定的员工和部门  保证事务
	 * @param employee
	 * @param department
	 */
	void addEmployeeAndDepartment(EmployeeEntity employee,DepartmentEntity department);

	
	
}
